package itsos.dao;

import org.springframework.orm.ibatis.support.*;
import itsos.model.*;


public class MemberGroupMapDao extends SqlMapClientDaoSupport {

	public MemberGroupMap getMemberGroupMap(long mapID)
	{
		return (MemberGroupMap) getSqlMapClientTemplate().queryForObject("MemberGroup.getMemberGroupMapByMapID", mapID);
	}
	
	public void insertMemberGroupMap(MemberGroupMap memberGroupMap)
	{
		getSqlMapClientTemplate().insert("MemberGroup.insertMemberGroupMap", memberGroupMap);
	}
	
	public void updateMemberGroupMap(MemberGroupMap memberGroupMap)
	{
		getSqlMapClientTemplate().update("MemberGroup.updateMemberGroupMap", memberGroupMap);
	}
	
}
